package com.yx.robot.bean.robot;

public class PathPoint {
    public static final int TYPE_CLEAN=0;   //清扫路径点
    public static final int TYPE_TRANSITION=1;  //转场路径点
    public static final int TYPE_RECHARGE=2;    //回充路径点
    public static final int TYPE_MOP=3;         //拖地路径点
    public float x;
    public float y;
    public int type;

    public PathPoint() {
    }


    public PathPoint(float x, float y, int type) {
        setPoint(x, y, type);
    }

    public void setPoint(float x, float y, int type) {
        this.x = x;
        this.y = y;
        this.type = type;
    }

    public void setPoint(float x, float y) {
        this.x = x;
        this.y = y;
    }
    @Override
    public String toString() {
        return "PathPoint{" +
                "x=" + x +
                ", y=" + y +
                ", type=" + type +
                '}';
    }
}
